package com.team5.entity;

public class CashFlow {
    int id;
    String name;
    double money;//余额
    double maxnum;//限额
    double flow;//净流入
    public CashFlow(){}
    public CashFlow(int id, String name, double money, double maxnum, double flow) {
        this.id = id;
        this.name = name;
        this.money = money;
        this.maxnum = maxnum;
        this.flow = flow;
    }
    @Override
    public String toString() {
        return "CashFlow{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                ", maxnum=" + maxnum +
                ", flow=" + flow +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getMaxnum() {
        return maxnum;
    }

    public void setMaxnum(double maxnum) {
        this.maxnum = maxnum;
    }

    public double getFlow() {
        return flow;
    }

    public void setFlow(double flow) {
        this.flow = flow;
    }
}
